package com.wh.springboot.common.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 疫情数据
 * 世界地图
 */
@Data
@TableName("covid_global_data")
public class CovidGlobalData {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @Alias("全球地区")
    private String name;
    @Alias("确诊人数")
    private Integer value;
}
